package cn.semyes.ylipfilter.dao.master;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import cn.semyes.ylipfilter.dao.BaseDao;
import cn.semyes.ylipfilter.entity.ExcludeIpEntity;


@Mapper
public interface ExcludeIpDao extends BaseDao<ExcludeIpEntity>{
	
	List<ExcludeIpEntity> selectByDomain(String domain);
	
	int deleteByDomainAndIp(ExcludeIpEntity excludeIpEntity);
	
	int deleteAll(String domain);
	
	ExcludeIpEntity selectByDomainAndIp(ExcludeIpEntity excludeIpEntity);
	
}
